package com.frejoys.common.vo.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AdminListVo {

    @Schema(type = "Long", name = "id", description = "id", required = true, defaultValue = "1")
    private Long id;

    @Schema(type = "String", name = "nickname", description = "昵称", required = true, defaultValue = "1")
    private String nickname;

    @Schema(type = "String", name = "avatar", description = "头像", required = true, defaultValue = "1")
    private String avatar;

    @Schema(type = "String", name = "phone", description = "电话", required = true, defaultValue = "15328888888")
    private String phone;

    @Schema(type = "Integer", name = "role", description = "角色", required = true, defaultValue = "0")
    private Integer role;

    @Schema(type = "List<AuthGroupNameVo>", name = "authGroupNameVos", description = "权限组信息", required = true, defaultValue = "超级管理员")
    private List<AuthGroupNameVo> authGroupNameVos;
}
